package com.ruoyi.rgpp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生基本信息对象 jmr_jibenstudents
 *
 * @author ruoyi
 * @date 2022-06-13
 */
public class JmrJibenstudents extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 身份证或企业代码 */
    @Excel(name = "身份证或企业代码")
    private String card;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 毕业学校 */
    @Excel(name = "毕业学校")
    private String school;

    /** 专业 */
    @Excel(name = "专业")
    private String profession;

    /** 学历 */
    @Excel(name = "学历")
    private String education;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String place;

    /** 毕业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "毕业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 电话 */
    @Excel(name = "电话")
    private String number;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 备用字段，防止以后加入字段 */
    @Excel(name = "备用字段，防止以后加入字段")
    private String spare;

    /** 有效标记，现在有用就是1现在无用就是0 */
    @Excel(name = "有效标记，现在有用就是1现在无用就是0")
    private String sign;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCard(String card)
    {
        this.card = card;
    }

    public String getCard()
    {
        return card;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setBirthday(Date birthday)
    {
        this.birthday = birthday;
    }

    public Date getBirthday()
    {
        return birthday;
    }
    public void setSchool(String school)
    {
        this.school = school;
    }

    public String getSchool()
    {
        return school;
    }
    public void setProfession(String profession)
    {
        this.profession = profession;
    }

    public String getProfession()
    {
        return profession;
    }
    public void setEducation(String education)
    {
        this.education = education;
    }

    public String getEducation()
    {
        return education;
    }
    public void setPlace(String place)
    {
        this.place = place;
    }

    public String getPlace()
    {
        return place;
    }
    public void setTime(Date time)
    {
        this.time = time;
    }

    public Date getTime()
    {
        return time;
    }
    public void setNumber(String number)
    {
        this.number = number;
    }

    public String getNumber()
    {
        return number;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setSpare(String spare)
    {
        this.spare = spare;
    }

    public String getSpare()
    {
        return spare;
    }
    public void setSign(String sign)
    {
        this.sign = sign;
    }

    public String getSign()
    {
        return sign;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("card", getCard())
                .append("name", getName())
                .append("sex", getSex())
                .append("birthday", getBirthday())
                .append("school", getSchool())
                .append("profession", getProfession())
                .append("education", getEducation())
                .append("place", getPlace())
                .append("time", getTime())
                .append("number", getNumber())
                .append("email", getEmail())
                .append("spare", getSpare())
                .append("sign", getSign())
                .toString();
    }
}